#define MAX_LIGHTS 2

shared cbuffer PerFrame
{
	float4x4 gView;
	float gdt;
};

shared cbuffer PerResize
{
	float4x4 gProjection;
};

shared cbuffer Lights
{
	Light gLights[MAX_LIGHTS];
	float3 gEyePosW;
	int gNumLights;
};

shared SamplerState gTrilinearSampler
{
	Filter = MIN_MAG_MIP_LINEAR;
};

shared SamplerState gBilinearSampler
{
	Filter = MIN_MAG_LINEAR_MIP_POINT;
};

shared SamplerState gAnisotropicSampler
{
	Filter = ANISOTROPIC;
};